﻿using Volo.Abp.Users;

namespace EcoSystem
{
    /// <summary>
    /// 上下文调用服务提供给Script引擎的封装类
    /// </summary>
    public interface IContextScriptService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        ICurrentUser GetCurrentUser();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        string GetOrganizeCode();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        string GetOrganizeId();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        string GetAvatar();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        string GetClientId();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        string CreateGuid();
    }
}
